# Autoinstallers
Bash scripts for making simple to install your own video survillance system.
## Requirements
### Zoneminder installer
* Ubuntu >= 14.04
* Debian >= 8

### Nextcloud installer
* Any supported by nextcloud: `https://docs.nextcloud.com/server/latest/admin_manual/installation/system_requirements.html`

## Usage:
### Zoneminder installer
```shell
wget https://notabug.org/kolbaskin/video-surveillance-system-autoinstallers/raw/master/zoneminder_install.sh
sudo bash ./zoneminder_install.sh
```
### Nextcloud installer
```shell
wget https://notabug.org/kolbaskin/video-surveillance-system-autoinstallers/raw/master/nextcloud_install.sh
sudo bash ./nextcloud_install.sh
```
# What to do next?
You can set up file syncing from Zoneminder server with 1)Syncthing 2)With rclone to a Nextcloud server from above or to another cloud storage like Mega or something.
### Syncthing
To install syncthing type:
```shell
sudo apt install syncthing
```
if you are using Debian or Debian-based linux distro or read https://docs.syncthing.net/ if you are using some specific os. Syncthing is using web-gui, it is quite easy (cause it's syncthing, so a thing to sync).
### Rclone
To sync files with rclone, install it with your package manager and read https://rclone.org/webdav/, then simply type your nextcloud server public ip in rclone cli when you are asked.